using System;

using Hadron.License;

namespace Hadron
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            LicenseManager licenseManager = LicenseManager.Instance;
            licenseManager.ApplicationName = "Hadron";
            licenseManager.ValidateLicense();
            if (licenseManager.LicenseType == LicenseType.None)
                return;

            using (HadronGame game = new HadronGame())
            {
                game.Run();
            }
        }
    }
}

